package com.labor_management_system.Service;

import com.labor_management_system.Entity.Attendance;
import com.baomidou.mybatisplus.extension.service.IService;
import com.labor_management_system.Utils.Pair;

import java.util.List;

/**
* @author deathwing475
* @description 针对表【attendance】的数据库操作Service
* @createDate 2024-02-27 09:52:56
*/
public interface AttendanceService extends IService<Attendance> {
    Long getWorkingNumber(List<String> employeeIDs, Long currentTime);
    Pair<Long,Double> getYWorkNumber(List<String> employeeIDs, Long currentTime);
    Pair<Long,Double> getMWorkNumber(List<String> employeeIDs, Long currentTime);

    List<Pair<Integer,Double>> getEmployeeAttendance(String employeeId,Long currentTime);


}
